package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import javax.validation.constraints.*;


/**
 * 发票业务关联业务对象 invoice_order_ref
 *
 * @author ruoyi
 * @date 2024-04-20
 */

@Data
public class InvoiceOrderRefBo {

    /**
     * 发票id
     */
    @NotNull(message = "发票id不能为空", groups = { EditGroup.class })
    private Long invoiceId;

    /**
     * 业务id
     */
    @NotNull(message = "业务id不能为空", groups = { EditGroup.class })
    private Long ownerId;

    /**
     * 业务名称
     */
    @NotBlank(message = "业务名称不能为空", groups = { EditGroup.class })
    private String ownerName;


}
